package com.wipz.eoa.iphone.alreadayDoTask;

import java.util.List;

import com.wipz.eoa.iphone.BaseAction;

public class AlreadyDoTaskAction extends BaseAction{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private AlreadyDoTaskOperate alreadyDoTaskOperate;

	public void setAlreadyDoTaskOperate(AlreadyDoTaskOperate alreadyDoTaskOperate) {
		this.alreadyDoTaskOperate = alreadyDoTaskOperate;
	}
	
	/**
	 * 我的已办列表
	 */
	private List list;

	public List getList() {
		return list;
	}

	public void setList(List list) {
		this.list = list;
	}
	
	public String list() {
		String userCode = this.getRequest().getParameter("COMMITERCODE");
		list = alreadyDoTaskOperate.doQuery(userCode);
		return SUCCESS;  
	}

}
